package org.nightknight.satobee.core;

import java.io.Serializable;
import java.net.InetAddress;

public class Contact implements Serializable {

	private InetAddress address;
	
	public Contact(InetAddress address) {
		this.address = address;
	}
        
        public Contact() {
            
        }
        
        public void setAddress(InetAddress address) {
            this.address = address;
        }
        
        public InetAddress getAddresss() {
            return this.address;
        }
        
        public boolean equals(Contact contact) {
            return address.equals(contact.getAddresss());
        }
}
